package com.android.planegame.controller;

import android.graphics.Canvas;
import android.view.View;
import com.android.planegame.model.HeroPlane;

public class HeroPlaneManager {

	private HeroPlane mHeroPlane;

	public HeroPlane getmHeroPlane() {
		return mHeroPlane;
	}

	public HeroPlaneManager(View view) {
		mHeroPlane = new HeroPlane(view);
	}

	public void drawHeroPlane(Canvas canvas) {
		mHeroPlane.drawHeroPlane(canvas);
	}

	public void move(int currentX, int currentY) {
		mHeroPlane.move(currentX, currentY);
	}
}
